/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fi.uba.algo3.tp3.utils.dijkstra;

/**
 *
 * @author Ezequiel
 */
public class Camino {

    private Vertice destino;
    private double peso;

    public Camino(Vertice argTarget, double argWeight) {
        destino = argTarget;
        peso = argWeight;
    }

    public Vertice getTarget() {
        return destino;
    }

    public void setTarget(Vertice target) {
        this.destino = target;
    }

    public double getWeight() {
        return peso;
    }

    public void setWeight(double weight) {
        this.peso = weight;
    }
}
